package com.ynb.lighterbuffer;

public class ShortSchema implements ISchema<Short>{
	@Override
	public void serialize(Short o,BinaryWriter writer) throws Exception{
		writer.writeShort(o);
	}
	@Override
	public Short deSerialize(Class<Short> type,BinaryReader reader) throws Exception{
		return reader.readShort();
	}
}